package cn.gd.mapper.logging;

import cn.gd.logging.RecordLog;
import cn.gd.pojo.SysLog;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface SysLogMapper {
    Integer insertLog(@Param("sysLog") SysLog sysLog);

    @RecordLog(desc = "查询日志记录")
    List<SysLog> getSysLogList(@Param("userName") String userName,
                           @Param("dateRange") String... dateRange);
}
